projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc8b4d
)
Wayland: Add a missing break statement
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 3 Aug 2013 22:59:41 +0000
(
00:59
+0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 3 Aug 2013 23:27:39 +0000
(
01:27
+0200)
Found by the clang static analyzer.
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index 292509660d81c2faa3ade539b25d7a356646e4c7..225c12eac55f1160eba6f1b41acb44cd7a88e593 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-789,6
+789,7
@@
pointer_handle_axis (void *data,
case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
delta_x = wl_fixed_to_double (value) / 10.0;
delta_y = 0;
+ break;
default:
g_return_if_reached ();
}